package jsu.xxy.coffee3.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 
 * @TableName supplier_material
 */
@TableName(value ="supplier_material")
@Data
@AllArgsConstructor
public class SupplierMaterial implements Serializable {
    /**
     * 
     */
//    @TableId(value = "supplier_id")
    private Integer supplierid;

    /**
     * 
     */
//    @TableId(value = "mId")
    private Integer mid;

    /**
     * 
     */
    @TableField(value = "purchase_price")
    private Double purchaseprice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;



    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", supplier_id=").append(supplierid);
        sb.append(", mId=").append(mid);
        sb.append(", purchase_price=").append(purchaseprice);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}